<%@ page pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="./common/head.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>${appTitle }</title>
<link rel="stylesheet" href="${ctx}/static/login/css/style.css">
<link rel="stylesheet" href="${ctx}/static/login/css/default.css">
<link type="text/css" rel="stylesheet" href="${ctx}/static/login/css/master_pc.css">
<style>
body, div, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form,
	input, select, textarea, table, td {
	margin: 0;
	padding: 0;
}

img {
	border: 0;
}

.clearfix:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
}

.clearfix {
	zoom: 1;
}

.paybot_wrap {
	padding-top: 20px;
	font: normal 12px "微软雅黑";
	color: #8f8f8f;
}

.paybot_wrap a {
	font: normal 12px "微软雅黑";
	color: #8f8f8f;
	text-decoration: none;
}

.paybot_wrap_link {
	height: 28px;
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}

.paybot_wrap_link div {
	width: 1002px;
	height: 28px;
	margin: 0 auto;
	line-height: 28px;
	text-align: center;
}

.paybot_wrap_link div a {
	margin: 0 15px;
}

.paybot_wrap_p {
	width: 1002px;
	margin: 10px auto 0;
	line-height: 20px;
	text-align: center;
}

.paybot_wrap_img {
	padding: 10px 0 20px;
	text-align: center;
}

.paybot_wrap_img img {
	margin: 0 10px;
}
</style>
</head>
<body style="text-align: left;">
	<div class="topbar-register cl">
		<h1 class="fl logo fl"></h1>
	</div>
	<div class="as_register">
		<div class="as_wrap ">
			<a class="logo" href="javascript:void(0);"></a>
			<div id="tabCh" class="lan_tabpage tabch" style="display: block;">
				<h2 class="tit">${appTitle }</h2>
				<p class="vicetit" style="color: red">${signErrorMessage }</p>
				<div class="func_tabpage" style="display: block; margin-top: 30px">
					<form action="${ctx}/com/reg.do" autocomplete="off" method="post" class="layui-form">
						<div class="ibox mb17">
							<input name="uname" lay-verify="required" lay-reqText="账号必须输入" class="t_phone" type="text" placeholder="账号">
							<i></i>
							<span class="ihint ihint_error" style="display: none;"></span>
						</div>
						<div class="ibox mb17">
							<input name="userName" lay-verify="required" lay-reqText="姓名必须输入" class="t_phone" type="text" placeholder="姓名">
							<i></i>
							<span class="ihint ihint_error" style="display: none;"></span>
						</div>
						<div class="ibox mb17">
							<input name="userPassword" lay-verify="required" lay-reqText="密码必须输入" class="t_phone" type="password"
								placeholder="密码">
							<i></i>
							<span class="ihint ihint_error" style="display: none;"></span>
						</div>
						<div class="ibox mb17">
							<input name="confirm_password" lay-verify="required|confirmPass" lay-reqText="确认密码必须输入" class="t_phone"
								type="password" placeholder="确认密码">
							<i></i>
							<span class="ihint ihint_error" style="display: none;"></span>
						</div>
<!-- 						<div class="ibox mb17"> -->
<!-- 							<input name="userPhone" lay-verify="phone" class="t_phone" type="text" placeholder="联系电话" maxlength="11"> -->
<!-- 							<i></i> -->
<!-- 							<span class="ihint ihint_error" style="display: none;"></span> -->
<!-- 						</div> -->
<!-- 						<div class="ibox mb17"> -->
<!-- 							<input name="userEmail" lay-verify="email" class="t_phone" type="text" placeholder="电子邮箱"> -->
<!-- 							<i></i> -->
<!-- 							<span class="ihint ihint_error" style="display: none;"></span> -->
<!-- 						</div> -->

						<input type="submit" class="rbtn_com rbtn_s1 mb15" lay-filter="formDemo" lay-submit="" style="width: 100%"
							value="注册用户">
						<a class="rbtn_com rbtn_s2" href="./user.jsp">已有账号登录</a>
					</form>
				</div>

			</div>
		</div>
	</div>

	<script src="${ctx}/static/login/jquery.js" type="text/javascript"></script>
	<script src="${ctx}/static/lib/layui/layui.js" type="text/javascript"></script>
	<script type="text/javascript">
		layui.use('form', function() {
			var form = layui.form;
			form.verify({
				confirmPass : function(value) {
					if ($('input[name=userPassword]').val() !== value)
						return '两次密码输入不一致！';
				}
			});
			form.on('submit(formDemo)', function(data) {
				return true; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
			});
	
		});
	</script>
	<div class="paybot_wrap">
		<p class="paybot_wrap_p">
			<span>© ${appTitle } 版权所有 </span>
			|
			<a href="./exit.jsp">返回首页</a>
		</p>
	</div>
</body>
</html>

<%
	session.removeAttribute("signErrorMessage");
%>